Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed bugs in relative_TT_residuals_plotter #215

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

outdoorpet
Copy link
Collaborator

Modified imports to suit relative import. Fixed bug in missing 'phase' column when reading picks ensemble file into Pandas data frame. Fixed bug where script will crash if there are no common events (parameter df_plot = None). So just need to catch the df_plot = None case.

…' column when reading picks ensemble file into Pandas data frame. Fixed bug where script will crash if there are no common events (parameter df_plot = None). So just need to catch the df_plot = None case.
@geojunky geojunky requested a review from zhang01GA June 16, 2021 04:15
Copy link
Contributor

@zhang01GA zhang01GA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Ashby for the PR. It looks all good to me except a bit of concern on the import changed to relative path: what if this script is run outside the seismic/gps_corrections/ directory? and in the scenario when seismic package is installed by a "pip install ".

Copy link
Contributor

@zhang01GA zhang01GA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merge is approved. thanks.

@outdoorpet
Copy link
Collaborator Author

Thanks Ashby for the PR. It looks all good to me except a bit of concern on the import changed to relative path: what if this script is run outside the seismic/gps_corrections/ directory? and in the scenario when seismic package is installed by a "pip install ".

Hi Fei, yes I realised afterwards that the script was meant to be called from the top level directory. Disregard that import modification. Cheers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants